/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.test.rabbit;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.tianyun.cloud.dashboard.rabbit.RabbitProducerSample;
import org.tianyun.cloud.test.BaseTestCase;

/**
 * RabbitMQ 测试用例
 *
 * @auther ebert_chan
 */
public class RabbitTestCase extends BaseTestCase {

    @Autowired
    RabbitProducerSample rabbitProducerSample;

    @Test
    public void send() {

        rabbitProducerSample.send("这是一条消息");

        rabbitProducerSample.sendDelayMessage("这是一条延时消息", 30);

    }

}
